package com.ai.core.util;

import java.util.List;
import java.util.Random;

public class RandomHelper {
	public static Object getRandomValue(List list) {
		Random mRandom = new Random();
		int a = mRandom.nextInt(list.size());

		Object value = list.get(a);
		list.remove(a);
		return value;
	}
}
